package com.cyt.work.question.service;

import com.cyt.base.model.dto.ReturnResult;
import com.cyt.sys.service.BaseService;
import com.cyt.work.question.model.po.QuestionSubject;
import com.cyt.work.question.model.vo.QuestionSubjectVo;

import java.util.List;

/**
 * 问卷题目表 service接口
 *
 * @author concong tao
 * @since 2019-01-31
 */
public interface IQuestionSubjectService extends BaseService<QuestionSubject> {

    /**
     * 保存问卷题目
     * @param questionId
     * @param subjectJson
     * @author congcong tao
     * @date 2019/7/11 9:11
     */
    ReturnResult saveQuestionSubject(String questionId, String status, String applyId, String subjectJson);

    /**
     * 查询list
     * @param questionSubjectVo
     * @author congcong tao
     * @date 2019/7/11 9:16
     */
    List<QuestionSubject> acceptList(QuestionSubjectVo questionSubjectVo);

    /**
     * 批量新增
     * @param list
     * @author congcong tao
     * @date 2019/9/4 9:55
     */
    void insertList(List<QuestionSubject> list);
}
